package com.cn.demo4.service.impl;

import com.cn.demo4.dao.NavTypeDao;
import com.cn.demo4.dao.impl.NavTypeDaoImpl;
import com.cn.demo4.model.NavTypeModel;
import com.cn.demo4.service.INavTypeService;

import java.util.List;

public class NavTypeServiceImpl implements INavTypeService {
    @Override
    public List<NavTypeModel> findAll() {
        NavTypeDao navTypeDao = new NavTypeDaoImpl();

        return navTypeDao.findAll();
    }
}
